//
//  HorizontalMenuView.h
//  HorizontalMenu
//
//  Created by Lj on 2016/11/10.
//  Copyright © 2016年 Lj. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol HorizontalMenuDelegate <NSObject>

@required

- (void)menuView:(UIView *)menuView didSelectButton:(NSUInteger)buttonSerial;

- (NSArray *)horizontalMenuArray:(UIView *)menuView;

@end

@interface HorizontalMenuView : UIView
/** 选中字体大小 */
@property (nonatomic, assign) NSInteger selectedSize;
/** 选择字体颜色 */
@property (nonatomic, strong) UIColor *selectedColor;
/** 未选中字体大小 */
@property (nonatomic, assign) NSInteger uncheckSize;
/** 未选中字体颜色 */
@property (nonatomic, strong) UIColor *uncheckColor;
/** 底部线的颜色 */
@property (nonatomic, strong) UIColor *lineColor;
/** 是否底部划线 */
@property (nonatomic, assign) BOOL lineHidden;
/** 间隔线的颜色 */
@property (nonatomic, strong) UIColor *intervalLineColor;
/** 是否间隔划线 */
@property (nonatomic, assign) BOOL intervalLineHidden;
/** 间隔线高度 */
@property (nonatomic, assign) CGFloat intervalLineHeight;

-(void)setNameWinthArray:(NSArray *)menuArray;

- (void)setSelectButton:(NSInteger)item;

@property(nonatomic, assign)id <HorizontalMenuDelegate>delegate;


@end


@interface MenuButton : UIButton

@property (nonatomic, assign) BOOL isSelect;

@end

